package Domain;

import java.util.LinkedList;
import java.util.List;

public class State {
	List<StateTransition> transitions;
	private boolean isTerminal;
	
	public State()
	{
		setTerminal(false);
		transitions = new LinkedList<StateTransition>();
	}
	
	public void getNextState()
	{
		
	}
	public List<StateTransition> getTransitions()
	{
		return transitions;
	}
	public void addTransition(StateTransition st)
	{
		this.transitions.add(st);
	}
	public void setTerminal(boolean isTerminal) {
		this.isTerminal = isTerminal;
	}

	public boolean isTerminal() {
		return isTerminal;
	}
}
